<?php
/*
*   Welcome to smallAuth!
*   Please define settings here.
*/

//debug -set to true to enable
//$auth_debug = false;
$auth_debug = true;

//destinations
$auth_path = 'php/smallauth'; //path to this dir
$auth_login = 'index.php'; //login file
$auth_loggedin = 'signup.php'; //where to go after loggin

//encryption method
//$auth_encrypt = 'sha256';
//$auth_encrypt = 'sha1';
//$auth_encrypt = 'md5';
$auth_encrypt = 'md5salt'; if ($auth_encrypt == 'md5salt') $auth_salt = '7665gg6hy';//md5 salt

//MySQL Setting
$auth_mysql_server = 'localhost'; //Address to the Mysql Server (normally localhost) 
$auth_mysql_user = 'root'; //MySQL username
$auth_mysql_pass = ''; //MySQL password
$auth_mysql_db = 'users_db'; //MySQL auth database name
$auth_mysql_table = 'user_table'; //MySQL auth table name
$auth_mysql_user_row = 'user'; //MySQL user row name
$auth_mysql_pass_row = 'pass'; //MySQL passwords row name
